package com.example.demo2.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.demo2.entity.AccountExtend;

/**
 * @Author 胡亚伟
 * @Date 2025-06-10
 * @version 1.0
 * @注释
 */

public interface AccountExtendService extends IService<AccountExtend> {
    AccountExtend findByQq(String qq);

    AccountExtend findByAccount(String account);

    void bindQq(String qq);

    void updateQq(AccountExtend ae, String qq);

    void updateCanBindQq(AccountExtend ae);

    void updateCanBindAccount(AccountExtend ae);

    void bindAccount(AccountExtend ae, String account);

    int cq(AccountExtend ae, int magnification, int prefix);

    int sign(AccountExtend a);

    AccountExtend updateExperience(AccountExtend a, int count);

    AccountExtend updateSign(AccountExtend a, int count);

    AccountExtend updateConsume(AccountExtend a, int count);

    AccountExtend updateCoupon(AccountExtend a, int count);

    AccountExtend rechargeSign(AccountExtend a, int count);

    AccountExtend rechargeConsume(AccountExtend a, int count);

    AccountExtend rechargeCoupon(AccountExtend a, int count);
}